import request from '@/utils/request'

// 查询酒店预约管理列表
export function listHotel_reservation(query) {
  return request({
    url: '/system/hotel_reservation/list',
    method: 'get',
    params: query
  })
}

// 查询酒店预约管理详细
export function getHotel_reservation(reservationId) {
  return request({
    url: '/system/hotel_reservation/' + reservationId,
    method: 'get'
  })
}

// 新增酒店预约管理
export function addHotel_reservation(data) {
  return request({
    url: '/system/hotel_reservation',
    method: 'post',
    data: data
  })
}

// 修改酒店预约管理
export function updateHotel_reservation(data) {
  return request({
    url: '/system/hotel_reservation',
    method: 'put',
    data: data
  })
}

// 删除酒店预约管理
export function delHotel_reservation(reservationId) {
  return request({
    url: '/system/hotel_reservation/' + reservationId,
    method: 'delete'
  })
}
